/*
 * @Author: wangtianyu wangtianyu@lierda.com
 * @Date: 2023-06-07 14:22:07
 * @LastEditors: wangtianyu wangtianyu@lierda.com
 * @LastEditTime: 2023-10-31 18:41:04
 * @FilePath: \kake_mcu_tool\Library\KK_gui\kkgui_cfg.c
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include "kkgui_cfg.h"

/* =============================== */
/* define */



/* =============================== */
/* typedef */



/* =============================== */
/* variable statement*/
extern uint8_t OLED_GRAM[2][128][8];

uint8_t (*KKUI_Gram_Addr[2])[8];
int KKUI_Gram_High = 8;
int KKUI_Gram_Wide = 128;

uiRefershCB uiRefresh;


/* =============================== */
/* variable definition*/



/* =============================== */
/* function statement*/



/* =============================== */
/* function definition*/
void uiGramInit(void)
{    
    KKUI_Gram_Addr[0] = OLED_GRAM[0];
    KKUI_Gram_Addr[1] = OLED_GRAM[1];
    KKUI_Gram_Wide = DIS_WIDE;
    KKUI_Gram_High = DIS_HIGH / 8;
}


void uiGramDeinit(void)
{
}


void uiDisInit(uiRefershCB refs_fun)
{
    uiRefresh = refs_fun;
}


